Hello !
I have one application that it's requaier apache2 , mysql & php.
I install with succes Apache2,mysql and php with all configuration that are requaier
I make a test for php with <? php phpinfo(); ?> were every thing seams to be ok. After I am restarting the system my apache server do not want to serve me the php pages.
If I open localhost I can see the default page for Apache server but when I am trying for example to open test.php error 404. even if I did not change anything, (the files are there, and I check my spelling many times.)
When I am running ./apachectl configtest
Syntax OK
My Linux distribution is > Suse 10.0 opensource
My instalation is
Apache2.0.55
mysql-5.0.15.
php 4.4.1
(all source compiled )
My httpd.conf (only some configuration that I change)
DocumentRoot "/usr/local/apache2/htdocs/"
DirectoryIndex index.html index.html.var index.php
AddType application/x-httpd-php .php
AddType application/x-compress .Z
AddType application/x-gzip .gz .tgz
LoadModule access_module modules/mod_access.so
LoadModule auth_module modules/mod_auth.so
LoadModule auth_anon_module modules/mod_auth_anon.so
LoadModule auth_dbm_module modules/mod_auth_dbm.so
LoadModule auth_digest_module modules/mod_auth_digest.so
LoadModule ext_filter_module modules/mod_ext_filter.so
LoadModule include_module modules/mod_include.so
LoadModule log_config_module modules/mod_log_config.so
LoadModule env_module modules/mod_env.so
LoadModule expires_module modules/mod_expires.so
LoadModule headers_module modules/mod_headers.so
LoadModule setenvif_module modules/mod_setenvif.so
LoadModule mime_module modules/mod_mime.so
LoadModule dav_module modules/mod_dav.so
LoadModule status_module modules/mod_status.so
LoadModule autoindex_module modules/mod_autoindex.so
LoadModule asis_module modules/mod_asis.so
LoadModule info_module modules/mod_info.so
LoadModule cgi_module modules/mod_cgi.so
LoadModule dav_fs_module modules/mod_dav_fs.so
LoadModule vhost_alias_module modules/mod_vhost_alias.so
LoadModule negotiation_module modules/mod_negotiation.so
LoadModule dir_module modules/mod_dir.so
LoadModule imap_module modules/mod_imap.so
LoadModule actions_module modules/mod_actions.so
LoadModule speling_module modules/mod_speling.so
LoadModule userdir_module modules/mod_userdir.so
LoadModule alias_module modules/mod_alias.so
LoadModule rewrite_module modules/mod_rewrite.so
LoadModule php4_module modules/libphp4.so
My php.ini change lines >
doc_root = "/usr/local/apache2/htdocs/"
file_uploads = Off
I even try to reinstall php when I discover that was working again but only until I restart the system and the problem came back. I think that has to do with a module that is not loaded.
This is my first linux sistem and I am useing it for 2 months only.
