M
M
melervand2013-11-23 19:18:34
PHP
melervand, 2013-11-23 19:18:34

include php files on Google App Engine server

The other day I decided to tinker with Google App Engine PHP.
Installed their Launcher. Wrote a script in the root of the view folder

include('libs/lib.php');
$lib = new Lib();

everything works perfectly on the local machine, but on the server it says that it cannot find lib.php (include(): apc failed to locate libs/lib.php)
Has anyone come across? How did you decide? Need to pick app.yaml?

Answer the question

In order to leave comments, you need to log in

5 answer(s)
M
melervand, 2013-11-23
@melervand

Well, everything turned out to be much easier. it turns out to be on the include case sensitive server, but not on the LAN.
In general, my file was Lib.php, and I called it as lib.php

S
Sergey Melnikov, 2013-11-23
@mlnkv

define('PATH', dirname(__FILE__) . DIRECTORY_SEPARATOR); // в константе PATH у тебя будет храниться путь к корню проекта (что то типа того)

then connect like this
include(PATH . 'libs/lib.php');

S
Sergey, 2014-12-08
Protko @Fesor

Since they started talking about DSP, maybe ... sound classification? Like there ... you can do something simpler like audio prints, a live recording detector or a pop music detector (with a subsequent proposal to delete it to hell).
In general, if you already know JS, you can try to talk about mixing technologies, such as one code on the client and on the server, and the impact of this on the development process...

P
Philipp, 2014-12-08
@zoonman

Make a simple website that answers questions. Here you have html5 audio, and speech recognition technologies, etc. You can even do something primitive, for example, look for answers through a search engine.

K
kstyle, 2014-12-08
@kstyle

projects

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question