No LAMP on Suse12.2
I have loaded Suse12.2. I have a notebook HP635. I am dual booting with
Mint 13 which now works with the help of linux gurus on this forum alas, the mints software manager doesn't work and so I am left with no distro that works properly. I have Suse12.2 and I am trying to get LAMP to work. I have MYSQL working but no php. The apache and php have been reloaded several times but no php even though apache works. Is there a command like the lamp-server on Mint? I am told the apache and php are loaded on installation, I can see them with Yast and reloaded several times but no php appears to work. |
Assuming that nothing has been changed in the Apache directory, what happens when you point your browser to 127.0.0.1?
To test PHP, you can make a .php file with the following: PHP Code:
|
Also of note is that novell royally changed things on suse ,in regards to the apache stack .
really changed things around the apache documentation will be of very little use http://httpd.apache.org/docs/2.4/ and in no way reflect what was done to the apache stack on suse see the SUSE docs http://en.opensuse.org/SDB:Apache_installation http://en.opensuse.org/SDB:Linux_Apache_MySQL_PHP |
No php
Quote:
Thanks for your help . |
seeing as SUSE royally changed things around
there is no real "httpd.conf" file instead there a bunch of small config files in /etc/apache2 some of those then point to other config files in"default-server.conf" you set the "Docroot" folder --------- <Directory "/srv/www/htdocs"> ------------- in "listen.conf" is the port and ip and the Vhost settings in "mod_userdir.conf" you set the "public" folder in yoour home user folder ----------- <Directory /home/*/public_html> ----------- did you install mod-php ? it is in the suse repos and Novell split everything up into small packages use the yast GUI ( add and remove software) or zypper to search or did you manually build the Apache stack , by hand, and manually install it if so then there is a in the install folder there is a full and very well documented default "httpd.conf" file |
Lamp on suse
[QUOTE=John VV;4862292]seeing as SUSE royally changed things around
there is no real "httpd.conf" file instead there a bunch of small config files in /etc/apache2 some of those then point to other config files in"default-server.conf" you set the "Docroot" folder --------- <Directory "/srv/www/htdocs"> ------------- in "listen.conf" is the port and ip and the Vhost settings in "mod_userdir.conf" you set the "public" folder in yoour home user folder ----------- <Directory /home/*/public_html> ----------- did you install mod-php ? it is in the suse repos and Novell split everything up into small packages use the yast GUI ( add and remove software) or zypper to search or did you manually build the Apache stack , by hand, and manually install it if so then there is a in the install folder there is a full and very well documented default "ht I have at last got it working thanks for your help I would not have got to make it work without all your help. |
All times are GMT -5. The time now is 02:22 AM. |