pozycjonowanie Dodawarka do katalogów katalogowanie
Krótko po wydaniu PHP 3, w zimie 1998 Zeev Suraski oraz Andi Gutmans jeszcze raz zabrali się za przepisywanie kodu źródłowego PHP, korzystając z doświadczeń nabytych przy pracach nad poprzednią wersją. Za główne cele obrali poprawienie modułowości oraz wydajności złożonych aplikacji. Choć dotychczasowa wersja potrafiła sobie z nimi poradzić, nie była jednak stworzona do tego celu i przegrywała przez to z innymi rozwiązaniami.


Producent segregatorów
Szeroki asortyment art. papierniczych
Bruliony i zeszyty dla dzieci, młodzieży
www.tnn.com.pl
confetti
Pokazy sztucznych ogni na festynach
Niesamowite aranżacje fajerwerków
www.confettiart.pl
website design
speed and of course quality
pricing is fair and very competitive
www.spotstudio.net
fotograf Bydgoszcz
Zdjęcia i reportaże z uroczystości
Wspaniałe zdjęcia pamiątką na całe życie
www.fotoglamour.com.pl


Olimpiada Pekin
Informacje i wiadomości z olimpiady
Strona dla fanów sportu i sportowców
www.olimpiada-pekin.info
Gry java
Sprzedaj swój telefon
Sprzedaj części do telefonu
www.portal-gsm.net


Z powodu zmian licencji autorzy musieli usunąć z kodu własną bibliotekę do komunikacji z bazą MySQL. W związku z tym rozszerzenie MySQL nie jest już wkompilowywane domyślnie – należy je ręcznie doinstalować, korzystając z dostarczonej przez MySQL biblioteki libmysqlclient. Zmiana ta dotyczy również PHP 4. W zamian udostępniono nowy, domyślnie wkompilowany silnik baz danych – SQLite – którego cechą jest to, iż nie wymaga żadnych dodatkowych programów. Biblioteka kliencka jest jednocześnie jego serwerem.

Rozdział 25. Installed as an Apache module

When PHP is used as an Apache module it inherits Apache's user permissions (typically those of the "nobody" user). This has several impacts on security and authorization. For example, if you are using PHP to access a database, unless that database has built-in access control, you will have to make the database accessible to the "nobody" user. This means a malicious script could access and modify the database, even without a username and password. It's entirely possible that a web spider could stumble across a database administrator's web page, and drop all of your databases. You can protect against this with Apache authorization, or you can design your own access model using LDAP, .htaccess files, etc. and include that code as part of your PHP scripts.

Often, once security is established to the point where the PHP user (in this case, the apache user) has very little risk attached to it, it is discovered that PHP is now prevented from writing any files to user directories. Or perhaps it has been prevented from accessing or changing databases. It has equally been secured from writing good and bad files, or entering good and bad database transactions.

A frequent security mistake made at this point is to allow apache root permissions, or to escalate apache's abilities in some other way.

Escalating the Apache user's permissions to root is extremely dangerous and may compromise the entire system, so sudo'ing, chroot'ing, or otherwise running as root should not be considered by those who are not security professionals.

There are some simpler solutions. By using open_basedir you can control and restrict what directories are allowed to be used for PHP. You can also set up apache-only areas, to restrict all web based activity to non-user, or non-system, files.