SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
- php :
. edit /etc/apache/httpd.conf and uncomment the line :
Include /etc/apache/mod_php.conf
. add support for php files in index :
DirectoryIndex index.html index.php index.htm index.xhtml
root@slacker:~# /etc/rc.d/rc.httpd start
Syntax error on line 6 of /etc/apache/mod_php.conf:
Cannot load /usr/libexec/apache/libphp4.so into server: libmhash.so.2: cannot open shared object file: No such file or directory
/usr/sbin/apachectl start: httpd could not be started
thats what i get when i start apache, haven't even done the mysql stuff yet.
I suggest you check out this website. If your goal is to have apache, perl, php, mysql set up as a devlopment environment, XAMPP is the way to go. Setup on linux is as simple as untarring the archive in the appropriate place. Services are then started and stopped by issuing simple commands. I use it for development in both Linux an Windows and it is excellent.
I thought this thread may continue (it hasn't) and I was certain that if it did, someone would mention this. Since they didn't, I feel obligated to mention that XAMPP is NOT designed (from a security standpoint) to be used in a production environment. It was assmebled for development purposes only. Here is a quote from the project webpage:
"The default configuration is not good from a securtiy point of view and it's not secure enough for a production environment - please don't use XAMPP in such environment."
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.