How to start

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
lramos85
Forum Newbie
Posts: 5
Joined: Thu Sep 18, 2003 4:12 pm
Location: Riverside

How to start

Post by lramos85 »

I'm using Red Hat Linux and I do my C++ Programming there with vi, I need to do PHP and mySQL but have no Idea how can anyone help me?
User avatar
Weirdan
Moderator
Posts: 5978
Joined: Mon Nov 03, 2003 6:13 pm
Location: Odessa, Ukraine

Post by Weirdan »

install apache, php, mysql then read the PHP manual and use your vi (btw, vim is much more.... it just much more, as for me :D) to write your scripts.
You can use
http://www.google.com/,
http://www.php.net/,
http://mysql.com/
and http://httpd.apache.org/
for information on how to install all of this great things ;)
User avatar
d-m
Forum Commoner
Posts: 31
Joined: Fri Aug 29, 2003 4:24 pm
Location: Rio de Janeiro - RJ - Brasil

Post by d-m »

Weirdan wrote:install apache, php, mysql then read the PHP manual and use your vi (btw, vim is much more.... it just much more, as for me :D) to write your scripts.
You can use
http://www.google.com/,
http://www.php.net/,
http://mysql.com/
and http://httpd.apache.org/
for information on how to install all of this great things ;)

SO if you are a Newbie.. and like to know how to install them .. here it goes the solution!

Download the mod_ssl / apache / openssl and php to a path...

--- APACHE ---
cd ../cd mod_ssl-2.8.15-1.3.28

./configure --enable-module=so --with-apache=../apache_1.3.28 --with-ssl=../openssl-0.9.7/
cd ../apache_1.3.28/
make
make certificate TYPE=custom
make install
--- END APACHE ---

OBS: CRIPT the CA.key
DO NOT CRYPT server.key

-- PHP --
cd ../php-4.3.3
./configure --with-apxs=/usr/local/apache/bin/apxs --with-mysql
make
make install
-- END PHP ---
Post Reply