PHPドキュメントにファイルを含めますが、ローカル側とサーバー側ではrequireを使用していませんが、機能せず、画面にエラーが表示されます.パスを100回確認しました。エラーは次のとおりです。
Warning: require(../library/config.php) [function.require]: failed to open stream: No such file or directory in /home/logics/public_html/clients/creativecellutions/farnelo/files/header.php on line 3
Warning: require(../library/config.php) [function.require]: failed to open stream: No such file or directory in /home/logics/public_html/clients/creativecellutions/farnelo/files/header.php on line 3
Fatal error: require() [function.require]: Failed opening required '../library/config.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/logics/public_html/clients/creativecellutions/farnelo/files/header.php on line 3
これを解決するのを手伝ってください。
これは私のコードです:
<?php
require ("../library/config.php");
require ("../library/functions.php");
?>