Jump to content
Forum Roportal
Sign in to follow this  
xeillin

HTML,PHP,MySQL

Rate this topic

Recommended Posts

buna!

As avea si yo o rugaminte : dk se poate sa-mi explici cum as putea sa creez un magazin virtual ,facand o baza de date si apoi o interfata in care sa selectez produsul,sa-l pun in cos.

Am de facut un proiect si nu stiu cum s ama apuc de unde ,de aceea am indraznit sa-ti cer ajutorul.Nu stiu nici php ,nici mysql ..cunosc un pic cate ceva din html.

Multumesc anticipat!

Share this post


Link to post
Share on other sites

Ok, am o problema careia nu-i dau de cap.

Ca experiment, am inceput sa hostez la mine pe computer un server Apache. Am inregistrat domeniul, am instalat Apache, am editat httpd.conf, totul merge frumos, cu o exceptie. Nu pot sa listen pentu 0.0.0.0:80, trebuie sa introduc IP'ul meu curent; or, la fiecare restart, rds imi aloca un nou IP. Este vreun workaround aici, ca sa nu stau sa editez httpd.conf la fiecare restart?

 

Next task, instalez php5 si MySql. No problems with that, installerul php a modificat corect httpd.conf si a adaugat liniile

#BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
PHPIniDir "C:/Program Files/PHP/"
LoadModule php5_module "C:/Program Files/PHP/php5apache2_2.dll"
#END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL

Apache nu da erori la pornirea/repornirea serverului, logurile spun ca

[Fri Dec 21 14:17:37 2007] [notice] Apache/2.2.6 (Win32) PHP/5.2.5 configured -- resuming normal operations
[Fri Dec 21 14:17:37 2007] [notice] Server built: Sep  5 2007 08:58:56
[Fri Dec 21 14:17:37 2007] [notice] Parent: Created child process 1680
[Fri Dec 21 14:17:37 2007] [notice] Child 1680: Child process is running
[Fri Dec 21 14:17:37 2007] [notice] Child 1680: Acquired the start mutex.
[Fri Dec 21 14:17:37 2007] [notice] Child 1680: Starting 250 worker threads.
[Fri Dec 21 14:17:38 2007] [notice] Child 1680: Starting thread to listen on port 80.

 

Insa scripturile php nu merg. Cum am descoperit? Simplu, am instalat Wodrpress, si cand rulez install.php, nu se intampla nimic -- doar mi-l afiseaza in browser, plain text. Anyone, idei ce se intampla? :D

Edited by daimon

Share this post


Link to post
Share on other sites

In primul rand pentru a putea face hosting acasa ai nevoie de o adresa ip statica si nu dinamica ceea ce ofera rdsu`. ma rog daca te interesezi poate poti cumpara de la ei si un ip static. daca nu intra pe https://www.dyndns.com/services/dns/custom/ si rezolvi acolo problema cu ip`ul dinamic, insa nu stiu daca e free :lol2:

Iar in al doilea rand am avut si eu problema asta cu php, cand am instalat wamp5 v2(open source, cu apache,php,mysql toate la un loc), tot ce am facut sa remediez problema era sa pornesc optiunea short open tag din php si s-a rezolvat problema, cel putin la mine, nu stiu daca asta te va ajuta.

 

bafta in continuare la hosting at home

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×