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.
I am trying to run php, apache, mysql,mod_ssl,openssl on slackware 10 from tgz packages but when I am opening my browser and typing localhost/phpinfo.php the browser returns my only the code in the file like <? .... etc.Can someone help me?
i've always been successful in compiling all the packages instead of using tgz packages.
I always use this link as a walk through to setting up Apache/PHP/MySQL:
I have tried to compile all the stuff, but when I am compiling mod_ssl with apache I got strange error in make certificate command something like that "Cannot encrypt ....key with pem pass" or similar.Any suggestions?By the way with removing # works.
if your browser is only loading up the code when you try to do http://localhost you might wanna edit the httpd.conf file, here's a link i used in the past:
You could also check out lampp (xampp). It is an all in one apache, php, mySQL, pearl, and proFTP compilation that is very easy to install as well as manage.
I would suggest it is better to try to understand how httpd.conf work before re-install apache,
compile it or use 3rd party software. Frankly with all slackware default packages, apache,
php and mysql can be configured in some minutes of time
Originally posted by keefaz I would suggest it is better to try to understand how httpd.conf work before re-install apache,
compile it or use 3rd party software. Frankly with all slackware default packages, apache,
php and mysql can be configured in some minutes of time
I agree it is neccessary to understand httpd.conf and it is still something one must do. I just really like the way they put together lampp and it seems as though it would bypass this little error and introduce a good program to another individual.
I followed all the instructions in the HOWTO you give me , but the result is the same.It seems I have entered a PEM pass but I didn't so it tells me that there is an error in writing the PEM pass and stop making certificate.That is all.But with the packagers works fine.
In fact yes.But the strange thing is that when I am running kernel 2.6.10 I can't compile apache and mod_ssl, but when I am running 2.4.26 - the standard slackware 10 kernel there is no problem so I'll remove the 2.6.10 kernel.One more question is there the same problem with the 2.4.29 kernel?
that's really strange. the only problem i ever had with a 2.6.x kernel was i couldn't remotely ssh into the machine, but never had anything messing up the mysql/php/apache....
I don't know man.May be in the compiling process I have compiled any module or option that causes this problem.Can you give me HOWTO for compiling this kernel?
what i normally use is
move the kernel-2.6.x.bz2 to /usr/src
>tar -jxvf kernel-2.6.x.tar.bz2
>rm linux
>ln -s linux-2.6.x linux
>cd linux
>make mrproper
>make menuconfig
>make bzImage
>make modules
>make modules_install
>cp arch/i386/boot/bzImage /boot/vmlinuz-2.6.x
>cp System.map /boot/System.map-2.6.x
>cd /boot
>mv vmlinuz vmlinuz-2.4.x
>mv System.map System.map-2.4.x
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.