Προς το περιεχόμενο

Μία επεξήγηση μόνο. Εύκολο!


kostastnt

Προτεινόμενες αναρτήσεις

With IIS 6 (2003 Server), open up the IIS Manager, go to Web Service

Extensions, choose "Add a new Web service extension", enter in a name

such as PHP, choose the Add button and for the value browse to either

the ISAPI file (php4isapi.dll or php5isapi.dll) or CGI (php.exe or

php-cgi.exe) then check "Set extension status to Allowed" and click

OK.

 

In order to use index.php as a default content page, do the following:

From within the Documents tab, choose Add. Type in index.php and click

OK. Adjust the order by choosing Move Up or Move Down. This is similar

to setting DirectoryIndex with Apache.

 

The steps above must be repeated for each extension that is to be

associated with PHP scripts. .php is the most common although .php3

may be required for legacy applications.

 

If you experience 100% CPU usage after some time, turn off the IIS

setting Cache ISAPI Application.

 

Τα παραπάνω είναι από τις οδηγίες για την ΡΗΡ5. Απλά δεν έχω καταλάβει τι πρέπει να κάνω στο έντονα γραμμένο κομμάτι. Όποιος ξέρει ας με βοηθήσει!

Συνδέστε για να σχολιάσετε
Κοινοποίηση σε άλλες σελίδες

Όταν σετάρεις την PHP στον server σου, λογικά θα δημιουργήσεις και κάποιο-α sites. Ο IIS by default, δίνει σαν default documents τα index.htm, index.html, default.htm. default.html, default.asp, index.asp κ.α.

 

Aυτό σημαίνει ότι αν δημιουργήσεις ένα site πχ http://www.site.gr και η πρώτη σελίδα σου δεν έχει ένα από τα προαναφερόμενα ονόματα αρχείου ή θα σου βγάλει "the page cannot be displayed" ή θα σου δείξει το directory με τα αρχεία του site σου (αν έχεις επιλέξει την συγκεκριμένη επιλογή μέσω IIS).

 

Aπλά με τα έντονα γράμματα σου λέει, ότι αν θέλεις μπορείς να καταχωρήσεις στα default documents του IIS και το όνομα αρχείου index.php προκειμένου όταν δημιουργήσεις ένα site το οποίο θα έχει σαν 1η σελίδα αυτό το όνομα αρχείου (δηλ. index.php) να στο εμφανίσει.

Συνδέστε για να σχολιάσετε
Κοινοποίηση σε άλλες σελίδες

Αρχειοθετημένο

Αυτό το θέμα έχει αρχειοθετηθεί και είναι κλειστό για περαιτέρω απαντήσεις.

  • Δημιουργία νέου...