• Support
  • PHP not working well, some missing extensions, and phpmyadmin is blocked 405

aaPanel_Kern

all right, imma try it from beginning

installed it

install LNMP in first visit server

done

navigate to terminal and try PHP (it get stucked) except PHP -v

installing mbstring and another needed

and when i installing fileinfo extension it get hang

i know i know if my resources server is too 'low', but i think it can for installing fileinfo extension, right?

    hei just wanna ask, how i can enable restriction this open_basedir function?
    i have tried to edit fpm PHP file, or in php.ini pointing to my public project folder, but it still same

    Thank you

    nvm, i just have to comment file in public/.user.ini, and now the route cannot be found, all 404

    may i know why i cant install php8.3-fpm? but when installing 8.1 vers, there is found the package?

    idk why there is no sites-available and nginx folder at /etc, i have compile install but it still same,

    aaPanel_Kern

    all clear, maybe i miss understanding how aapanel managing nginx, and my low skill too, but I'll keep update for someone who may be experiencing the same issue until my deployment success

    All right my app now up and can accessed, a miracle!

    summary what i do to deploy my inertia app that may be useful for ppl who facing same issue

    1. install lnmp default
    2. configure PHP in app store, to tab disabled functions, and disable exec, passthru, system, proc_oci, putenv, and some (i forgot)
    3. installing extension like fileinfo, mbstring and into
    4. go to terminal in folder and setup the app, like npm i and composer install (don't forget to update the composer first), generate new key
    5. setup .env like changing database and migrate it
    6. install PM2 / nodejs in appstore, maybe you can use nvm instead and use node version that compatible to your project
    7. go to website and create new project PHP in PHP Project, configure to your domain and folder...
    8. open the site modification website, go to site directory, and pointing running dir to /public, and go to URL rewrite tab, write this configuration
      location / {
      try_files $uri $uri/ /index.php?$args;
      }
      save it
    9. try access your website

    thx for your assist too

    Hello, how i can deploy my php native website now? i have create subdomain
    http://audancer.rynn.fun/
    but it cannot find, i just deploy it and set the directory project to root folder, i have index.php too, may i missed something?

    my bad, subdomain need to wait to propagate online

    but when i created my first subdomain it online instantly, bruh

    when i accessed the subdomain, it not serve correct page, instead it serve my first website! its hilarious. when i open it in PC it show correct website, but when i open it in handphone, it keep showing first website.

      Connect with us: 📨 Telegram 💬 Discord Email: support@aapanel.com