-
apache+php+postgresql
hi, i got knoppix 3.3 and i like start to work with dinamyc web pages but i don't have idea whou start???
first how i know if i got installed in my pc?
second how i link every module???
Third Heeeeelp
please help.
Pd Any idea for a manual ....???
Bye
-
You will need 2 big steps:
INSTALLATION
You need to configure your server. If you have the Live CD version, then Knoppix includes Apache + PHP and MySQL. You only have to start them. Launch one console and type:
sudo /etc/init.d/apache start
sudo /etc/init.d/mysql start (knoppix 3.4 doesn't include mysql but older versions yes)
EXECUTION
And you will have a web server fully operational. Then you only well need your php scripts and your mysql dump database and you are ready to work
pd: There exists one Knoppix customization called Live-Zope focused on web server programation. I think this one includes postgresSQL. In this live CD you wll get a fully operational web server with databases included
ftp://ftp.texmacs.org/pub/TeXmacs/knoppix
-
Senior Member
registered user
You get postgresql at
www.postgresql.org
postgresql-7.4.2.tar.bz2, about 10 MB.
The INSTALL file explains the next steps.
-
I cannot remember how I configure postgresql with php but you should be able to do a google search on this to get it working.
To know if you've got postgresql install, do the following (as root user) to start/restart postgresql.
/etc/init.d/postgresql start or /etc/init.d/postgresql restart
From the error message you should be able to tell if postgresql is installed.
If not install, apt-get install postgresql should install and configure postgresql
You will have to edit pg_hba.conf and postgresql.conf to allow tcp connection and who can connect.
To test if php is running, put a index.php file in /var/www directory and then use a browser to call it. If it is displayed, then php is working.
The best php file to test is the following:-
<?
phpinfo();
?>
Similar Threads
-
By jpiranha in forum Networking
Replies: 2
Last Post: 10-04-2004, 01:57 AM
-
By jpiranha in forum Hdd Install / Debian / Apt
Replies: 0
Last Post: 09-28-2004, 11:49 PM
-
By deps in forum Networking
Replies: 8
Last Post: 11-07-2003, 09:21 PM
-
By MattT in forum The Lounge
Replies: 0
Last Post: 08-06-2003, 04:23 AM
-
By sweetzip in forum General Support
Replies: 3
Last Post: 04-22-2003, 01:45 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

Toshiba Magnia SG20 VPN Linux server Web server (No HDD, *Read*) -
$60.00

Microsoft SQL Server 2025 Standard 32 Core Unlimited User CALs CoA Authentic
$388.00

Ubuntu 26.04 LTS – 3 DVD Set Desktop - Server - Studio Edition - Grade AAA+
$13.99

OPNsense pfSense 8-Core Atom C3758 2.2GHz 8GB DDR4 64GB SSD 8x NIC QAT AES VPN
$115.00

Hitachi 14TB SATA 6Gb/s, 3.5”, 7200 RPM, Linux Only Hard Drive. 100% HEALTH.
$189.95

All New Ubuntu 26.04 LTS Linux Bootable USB Flash Drive
$15.95

Start9 Server Pure 32GB 4TB Intel i7 Node StartOS — Box + PSU
$699.00

Ubuntu 26.04 Linux Desktop PC, 6-Core i5, up to 32GB RAM + 2TB SSD, Dell 7060
$399.99

Sun Enterprise e450 400mhz cpu(x4), 4gb ram, 9gb HD w/spud most complete on ebay
$600.00

HP ProLiant DL360P G8 Server 2.60Ghz 16-Core 96GB 2X 300GB Enterprise (Renewed)
$140.00