You are not logged in.
I have installed LAMP stack, apache, php, mysql on Arch Linux. Configured it but I think I made a mistake somewhere and I keep getting 404. After triggering some 404, last few lines of error log (doesn't appear to log those 404 tho)
Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/gd.so' - /usr/lib/php/modules/gd.so: cannot open shared object file: No such file or directory in Unknown on line 0
Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/gd.so' - /usr/lib/php/modules/gd.so: cannot open shared object file: No such file or directory in Unknown on line 0
Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/gd.so' - /usr/lib/php/modules/gd.so: cannot open shared object file: No such file or directory in Unknown on line 0
[Thu May 03 19:49:19 2012] [notice] caught SIGTERM, shutting down
Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/gd.so' - /usr/lib/php/modules/gd.so: cannot open shared object file: No such file or directory in Unknown on line 0
Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/gd.so' - /usr/lib/php/modules/gd.so: cannot open shared object file: No such file or directory in Unknown on line 0
[Thu May 03 19:49:50 2012] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Thu May 03 19:49:50 2012] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Thu May 03 19:49:50 2012] [notice] Digest: generating secret for digest authentication ...
[Thu May 03 19:49:50 2012] [notice] Digest: done
[Thu May 03 19:49:52 2012] [notice] Apache/2.2.22 (Unix) mod_ssl/2.2.22 OpenSSL/1.0.1b DAV/2 PHP/5.3.11 with Suhosin-Patch configured -- resuming normal operations
Whats wrong? Also I guess PHP GD is missing am I missing a package? I do have gd installed.
Some changes I have made to httpd.conf
# for convinence, I used my user to run apache
User jiewmeng
Group users
DocumentRoot "/labs/Websites/"
<Directory "/labs/Websites/">
Options All
AllowOverride All
Order allow,deny
Allow from all
</Directory>
In httpd-vhosts.conf
<VirtualHost *:80>
DocumentRoot "/labs/Projects/Nebula/web/"
ServerName nebula
<Directory /labs/Projects/Nebula>
Options All
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
Even when I go localhost, I am getting those 404's. What have I did wrong?
Last edited by jiewmeng (2012-05-03 13:31:35)
Computer Science Student, Web Developer
Offline
As for GD, you seem to be missing the php-gd package.
Did you add your /labs/.. folders to open_basedir in php.ini?
Did you put "Include conf/extra/php5_module.conf" in httpd.conf?
Last edited by teekay (2012-05-03 12:44:23)
Offline
Ok solved, I think the mistake is once I enabled vhosts, I need to configure 1 virtual host for local host. Then for the nebula virtual host, it appears .htaccess does not work... mod_rewrite is already enabled ...
Computer Science Student, Web Developer
Offline